<?php
/**
 * Author: LaiGuiming
 * Time: 2017-08-14 11:36
 * Copyright (C) 2016 Longyan Wehome Message CO.,LTD.
 */

namespace app\admin\controller\sys\dev;
use app\common\controller\BackEnd;

/**
 * 组件控制器
 * Class Unit
 * @package app\admin\controller
 */
class Unit extends BackEnd
{
    /**
     * 组件使用说明
     * @return mixed
     */
    public function document()
    {
        //角色复选框
        $id=1;
        $this->assign('data', D('user')->get($id));
        $this->assign('roles', D('role')->where("")->select());
        return $this->fetch();
    }
}